package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Eventquantitytype;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface EventquantitytypeService {

	public Eventquantitytype saveEventquantitytype(Eventquantitytype eventquantitytype);

	public Set<Eventquantitytype> loadEventquantitytypes();

	public Set<Eventquantitytype> loadReferenceEventquantitytypes(Set<Eventquantitytype> eventquantitytypes);

	public Set<Eventquantitytype> loadEventquantitytypesByIdSet(Set<Integer> eventquantitytypesId);

	public Map<String, ?> loadEventquantitytypeObjectReferencedSet(Eventquantitytype eventquantitytype);

	public Map<String, ?> loadEventquantitytypeClassReferencedSet(Eventquantitytype eventquantitytype);

	public void deleteEventquantitytype(Eventquantitytype eventquantitytype);

	public void deleteEventquantitytypes(Set<Integer> deleteEventquantitytypesId);

	public List<Eventquantitytype> findAllEventquantitytypes(Integer startResult, Integer maxRows);

	public Eventquantitytype findEventquantitytypeByPrimaryKey(Integer id);

	public Integer countEventquantitytypes();

	public Integer countEventquantitytypes(CmiPagination page);

	public Integer countEventquantitytypesByName(String queryName);

	public Integer countEventquantitytypesByDetachedCriteria(CmiPagination page);

}
